package com.yinian.server.service.impl;


import com.yinian.pojo.dto.OperaVideoDTO;
import com.yinian.pojo.dto.RadioDTO;
import com.yinian.pojo.vo.OperaVideoVO;
import com.yinian.pojo.vo.RadioVO;
import com.yinian.server.mapper.OperaMapper;
import com.yinian.server.mapper.RadioMapper;
import com.yinian.server.service.OperaService;
import com.yinian.server.service.RadioService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class RadioServiceImpl implements RadioService {

    @Autowired
    private RadioMapper radioMapper;



    @Override
    public List<RadioVO> getRadioList(RadioDTO radioDTO) {
        return radioMapper.getRadioByRadioType(radioDTO);
    }
}
